package org.dromara.business.domain;

import lombok.NoArgsConstructor;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 广告对象 advertising
 *
 * @author zlj
 * @date 2024-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("advertising")
public class Advertising extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "advertising_id")
    private Long advertisingId;

    /**
     * 城市
     */
    private String city;

    /**
     * 广告路径
     */
    private String url;

    /**
     * 状态
     */
    private String state;

    /**
     * 播放次数
     */
    private Long number;
    /**
     * 区域编号
     */
    private String cityId;
    /**
     * 审批备注
     */
    private String remarks;
    /**
     * 过期时间
     */
    private Date expirationDate;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

}
